package com.example.drools.spring.core;

import com.example.drools.spring.entity.DroolEntity;
import com.example.drools.spring.entity.DroolModel;

/**
 * @author ddsyw
 * @version 1.0
 * @date 2021/12/29 2:55 下午
 */
public interface RuleEngine {
  /**
   * execute engine
   * @param drool
   */

  <T extends DroolEntity> void executeRuleEngine(final T drool);

  /**
   * extend
   * @param drool
   * @param <T>
   */
  void executeRuleEngine(final Object... drool);

  /**
   * init
   */
  void initEngine();

  /**
   * refresh from db or other
   */

  void refreshEnginRule();
}
